<?php
/**
 * Created by PhpStorm.
 * User: Frings
 * Date: 2016/12/14
 * Time: 14:48
 */

?>


<div class="form-horizontal" id="depuser_submit_form">
    <div class="form-group" style=" margin-top: 5px;">
        <div class="col-lg-12">
            <input type="hidden" id="department_id" value="<?=$department_id?>">
            <table class="table table-bordered table-hover table-condensed" id="goods_table">
                <thead class="nowrap">
                <tr>
                    <th class="col-lg-1"></th>
                    <th class="col-lg-2">名称</th>
                    <th class="col-lg-2">电话</th>
                </tr>
                </thead>
                <tbody>
                <?php
                if ($items != null && count($items) > 0) {
                    for ($i = 0; $i < count($items); $i++) {
                        ?>
                        <tr>
                            <td>
                                <input type="checkbox" name="user_chk" value="<?= $items[$i]['id'] ?>">
                            </td>
                            <td>
                                <?= $items[$i]['name'] ?>
                            </td>
                            <td>
                                <?= $items[$i]['phone'] ?>
                            </td>
                        </tr>

                        <?php
                    }
                }
                ?>
                </tbody>
            </table>
        </div>
    </div>
</div>

